<?php

class LnkMessagesUsers extends Zend_Db_Table_Abstract
{
    protected $_name = 'view_messages_users';
 
    protected $_referenceMap    = array(
        'Messages' => array(
            'columns'           => 'MessageId',
            'refTableClass'     => 'Messages'
        ),
        'Users' => array(
            'columns'           => 'UserId',
            'refTableClass'     => 'Users'
        )
    );
 
}